package com.campsys.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.campsys.entity.Activity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


@Mapper
public interface ActivityMapper extends BaseMapper<Activity> {
    @Select("SELECT id, name FROM t_manager_activity")
    List<Activity> getAllActivities();
}
